//if 条件判断语句
if $name == 'admin'
	p this is an admin
else 
	p this is not an admin
	
//for循环用法
(1) 应用each
var items = ["one","two","three"];
each item in items
	li = item
	
(2)应用for循环
for user in users
	for role in user.roles
	 	li = role